# 1*1=1
# 1*2=2 2*2=4
# 1*3=3 2*3=6 3*3=9
# 1*4=4 2*4=8 3*4=12 4*4=16


for j in range(1,10):
    for i in range(1,j+1):
        if j*i%2 == 0:
            print(f"{i}*{j}=* ",end=" ")
        else:
            print(f"{i}*{j}={j * i}", end=" ")
    print("\n")